package com.bawei.module_home.state

import com.bawei.library_mvi.IState
import com.bawei.module_home.model.entity.FocusEntity
import com.bawei.module_home.model.entity.SimpleTypeEntity
import com.bawei.module_home.model.entity.SimpleVideoEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/6/25 09:17
 * @Description : FocusState 状态
 */
sealed class FocusState:IState {
    /**
     * 关注成功
     */
    data class FocusSuccess(val result:FocusEntity,val position:Int):FocusState()

    /**
     * 关注失败
     */
    data class FocusError(val message:String):FocusState()
    /**
     * 初始状态
     */
    object Init:FocusState()

}